package cn.example.vip.mall.goods.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*****
 * @Author: 波波
 * @Description: 云商城
 ****/
@Data
@AllArgsConstructor
@NoArgsConstructor
//MyBatisPlus表映射注解
@TableName(value = "category_brand")
public class CategoryBrand {
//    @TableId(type = IdType.INPUT, value = "category_id")
    @TableField(value = "category_id")
    private Integer categoryId;
    
//    @TableId(type = IdType.INPUT, value = "brand_id")
    @TableField(value = "brand_id")
    private Integer brandId;
}
